/* 主页通用样式 */
.home-page {
  padding: 30rpx;
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* 用户信息卡片样式 */
.user-card {
  background-color: #ffffff;
  border-radius: 32rpx;
  padding: 30rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

/* 进度条样式 */
.progress-container {
  height: 16rpx;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8rpx;
  margin: 10rpx 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #FF9FB5;
  border-radius: 8rpx;
}

/* 文章列表样式 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.article-item {
  display: flex;
  align-items: center;
}

.article-image {
  width: 180rpx;
  height: 180rpx;
  border-radius: 16rpx;
  object-fit: cover;
  margin-right: 20rpx;
}

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180rpx;
}

.article-title {
  font-size: 28rpx;
  color: #333333;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10rpx;
}

.article-tag {
  display: inline-block;
  padding: 6rpx 16rpx;
  background-color: #ffd6e0;
  color: #ff6b8b;
  border-radius: 8rpx;
  font-size: 22rpx;
}

.article-views {
  font-size: 22rpx;
  color: #999999;
}

/* 按钮样式 */
.custom-button {
  width: 100%;
  height: 80rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 159, 181, 0.1);
  border-radius: 40rpx;
  margin-top: 30rpx;
  color: #FF9FB5;
  font-size: 28rpx;
  border: none;
}

/* 图标背景颜色 */
.bg-pink-100 {
  background-color: rgba(255, 159, 181, 0.1);
}

.bg-blue-100 {
  background-color: rgba(96, 165, 250, 0.1);
}

.bg-green-100 {
  background-color: rgba(16, 185, 129, 0.1);
}

.bg-red-100 {
  background-color: rgba(248, 113, 113, 0.1);
}

/* 图标颜色 */
.text-pink-500 {
  color: #FF9FB5;
}

.text-blue-500 {
  color: #60A5FA;
}

.text-green-500 {
  color: #10B981;
}

.text-red-500 {
  color: #F87171;
}

/* 文本颜色 */
.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-700 {
  color: #4b5563;
}

/* 间距工具类 */
.space-y-3 > * + * {
  margin-top: 30rpx;
}

.mb-3 {
  margin-bottom: 30rpx;
}

.mt-1 {
  margin-top: 10rpx;
}

.mb-1 {
  margin-bottom: 10rpx;
}

/* Flex工具类 */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

/* 字体工具类 */
.text-xs {
  font-size: 24rpx;
}

.text-sm {
  font-size: 28rpx;
}

.text-base {
  font-size: 30rpx;
}

.text-lg {
  font-size: 32rpx;
}

.text-xl {
  font-size: 36rpx;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
} 